package com.class04.mapper;

import com.class04.pojo.Schedule;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassDescription:
 * @JdkVersion: 17
 * @Author: yxy
 * @Created: 2023/12/22 14:24
 */
@Repository
public interface ScheduleMapper {
    //    查询所有课程数据
    List<Schedule> queryList();
    //    通过id删除课程数据
    int deleteById(Integer id);
    //    插入课程数据
    int insertSchedule(Schedule schedule);
    //    修改课程数据
    int updateSchedule(Schedule schedule);

}
